TQuery
The type of the query.
TResult
The type of the result.
LEADTOOLS Medical (Leadtools.Dicom.Scu assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Find<TQuery,TResult>(DicomScp,TQuery,DicomMatchDelegate<TResult>,DicomDataSet) Method
See Also 
Leadtools.Dicom.Scu Namespace > QueryRetrieveScu Class > Find Method : Find<TQuery,TResult>(DicomScp,TQuery,DicomMatchDelegate<TResult>,DicomDataSet) Method




Scp
The peer connection to send the C-FIND-REQ to.
Query
The query information that describes the DICOM datasets to be found.
OnMatch
The delegate to be called for each dataset that matches the query parameters.
Template
The template dataset to use for the C-FIND-REQ.
Scp
The peer connection to send the C-FIND-REQ to.
Query
The query information that describes the DICOM datasets to be found.
OnMatch
The delegate to be called for each dataset that matches the query parameters.
Template
The template dataset to use for the C-FIND-REQ.
Sends a C-FIND-REQ message to a peer member of a connection defined by Scp. The C-FIND-REQ is defined by the Query paramter.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Find
     (Of TQuery,TResult)( _
   ByVal Scp As DicomScp, _
   ByVal Query As TQuery, _
   ByVal OnMatch As DicomMatchDelegate(Of TResult), _
   ByVal Template As DicomDataSet _
) 
Visual Basic (Usage)Copy Code
Dim instance As QueryRetrieveScu
Dim Scp As DicomScp
Dim Query As TQuery
Dim OnMatch As DicomMatchDelegate(Of TResult)
Dim Template As DicomDataSet
 
instance.Find(Of TQuery, TResult)(Scp, Query, OnMatch, Template)
C# 
public void Find<TQuery,TResult>( 
   DicomScp Scp,
   TQuery Query,
   DicomMatchDelegate<TResult> OnMatch,
   DicomDataSet Template
)
Managed Extensions for C++ 
public: void Find<TQuery,TResult>( 
   DicomScp* Scp,
   TQuery* Query,
   DicomMatchDelegate<TResult*>* OnMatch,
   DicomDataSet* Template
) 
C++/CLI 
public:
void Findgeneric<typename TQuery>
generic<typename TResult>
( 
   DicomScp^ Scp,
   TQuery^ Query,
   DicomMatchDelegate<TResult^>^ OnMatch,
   DicomDataSet^ Template
) 

Parameters

Scp
The peer connection to send the C-FIND-REQ to.
Query
The query information that describes the DICOM datasets to be found.
OnMatch
The delegate to be called for each dataset that matches the query parameters.
Template
The template dataset to use for the C-FIND-REQ.

Type Parameters

TQuery
The type of the query.
TResult
The type of the result.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Scu requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features